<script type="text/javascript">
$(function () {
	var url = '${contextPath}script/site/indexAdvertising.js?time=' + sys_get_time();
	$.ajax({url:url, dataType:'script', cache:true,
		success: function(){
			var page = sys_fill_parm('queryIndexAdvertisingForm');
			queryIndexAdvertising(page);
		}
	});
})
</script>
<#import "/freemarker/modeltype.ftl" as mt>
<#import "/freemarker/datetime.ftl" as dt>
<form id="queryIndexAdvertisingForm">
<input type="hidden" name="oc" value="${(cu_organCode)!''}"/>
<input type="hidden" name="deleted" value="false"/>
<table class="search_term_table">
	<tr>
		<th style="width:60px;">标题</th>
		<td style="width:120px;">
			<input class="form-control" type="text" id="title" name="title" style="width:200px;" />
		</td>
		<th style="width:60px;">排序</th>
		<td style="width:120px;">
			 <input class="form-control" type="text" id="sort" name="sort" style="width:80px;" />
		</td>
	   	<th style="width: 100px;">广告发布时间</th>
		<td style="width: 280px;">
		 <@dt.dateTime name="time1" width="100px"/>至<@dt.dateTime name="time2" width="100px"/>
		</td>
	    <td style="text-align:right;">
			<button class="btn btn-info" onclick="javascript: checked();return false;"><i class="icon-search"></i> 查 询 </button>
			<button class="btn btn-success" onclick="javascript: sys_load_handle('indexadvertising-edit');return false;"><i class="icon-file"></i> 添  加</button>
		</td>
	</tr>
</table>
</form>
<div id="resultList"></div>
